import Vue from 'vue'
import Router from 'vue-router'

/**
 * 路由懒加载
 */
const Index = () => import("@/view/index/Index")
const Test = () => import("@/view/test/Test")


Vue.use(Router)



export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },{
      path: '/test',
      name: 'Test',
      component: Test
    }

  ]
})
